<% content_for :page_title do %>
  <%= link_to Spree.t(:stock_locations), spree.admin_stock_locations_url %> /
  <%= link_to Spree.t(:stock_movements), spree.admin_stock_location_stock_movements_path(stock_location) %> /
  <%= Spree.t(:new_stock_movement) %>
<% end %>

<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @stock_movement } %>

<%= form_for [:admin, stock_location, @stock_movement] do |f| %>
  <fieldset>
    <%= render partial: 'form', locals: { f: f } %>
    <%= render partial: 'spree/admin/shared/new_resource_links', locals: { collection_url: admin_stock_location_stock_movements_path(stock_location) } %>
  </fieldset>
<% end %>
